import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const router = new VueRouter({
  mode: 'hash',
  routes: [
    {
      path: "/",
      redirect: "/home",
    },
    {
      path: "/home",
      component:  resolve => require(['../views/Home.vue'], resolve)
    }
  ] 
})

export default router;